function exportImg() {
  map.once('postcompose', function (event) {
    const canvas = event.context.canvas
    console.log(canvas)
    canvas.toBlob(function (blob) {
      saveAs(blob, 'map.png')
    })
  })
  map.renderSync()
}
